package monopoli.communication;

import java.util.Random;


/**
 *
 * @author Marco
 */
public class TestCommunication {

    //Main Method
    public static void main(String args[]) {
        
        Communication com = new Communication();

        /*
        if (args.length == 1) 
            com = new Communication(args[0], 1099);
        else
            com = new Communication();
        */

        com.setHost("192.168.0.2", 1099);
        com.setInitializationServer("192.168.0.2", 1098);


        //Test chiamata metodo richiestaPartecipaPartita()
        com.richiestaPartecipaPartita(new Random().nextInt(1000));
        
        
        //Test chiamata a metodo notificaMuoviPedina()
        
    }
}
